package com.feicheng.controller.shop.wx.app.store;


import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.feicheng.common.constant.Constant;
import com.feicheng.common.result.ResultInfo;
import com.feicheng.service.IFStoreService;

import lombok.extern.slf4j.Slf4j;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author cailongyang
 * @since 2021-12-02
 */
@RestController("/wx/app/store")
@RequestMapping("/wx/app/store")
@Slf4j
public class StoreController {

    @Autowired
    IFStoreService storeService;

    @GetMapping("/info")
    ResultInfo getStoreByAppId(String appId) {
        return storeService.getStoreWithAppId(appId);
    }

}
